package com.zzzzzz.content.article;

import com.zzzzzz.core.exception.NoSuchModelException;


public interface ArticleService {
	public Long add(Long userId, ArticleForm articleForm);
	
	public void del(Long id, Long userId) throws NoSuchModelException;
	
	public void edit(Long userId, Long id, ArticleForm articleForm);

	public Article findById(Long id);
	
	public ArticleView findViewById(Long id);
	
	public void plusLooks(Long id);

	public void plusReplies(Long id, Long userId);
	
	public void editLikes(Long id, Integer likesPlus);
}
